.class public Lcom/instagram/android/fragment/al;
.super Lcom/instagram/e/b/b;
.source "EditProfileFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# instance fields
.field private Z:Landroid/widget/Button;

.field private a:Lcom/instagram/android/model/b/o;

.field private aa:Landroid/widget/EditText;

.field private ab:Landroid/widget/EditText;

.field private ac:Landroid/widget/EditText;

.field private ad:Landroid/widget/EditText;

.field private ae:Landroid/widget/EditText;

.field private af:Landroid/widget/EditText;

.field private ag:Landroid/widget/Spinner;

.field private ah:Lcom/instagram/android/widget/IgSmallLoadingSpinner;

.field private ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

.field private aj:Landroid/content/BroadcastReceiver;

.field private final ak:Landroid/view/View$OnFocusChangeListener;

.field private final al:Landroid/text/TextWatcher;

.field private b:Z

.field private c:Z

.field private d:I

.field private e:Lcom/instagram/android/fragment/ba;

.field private f:Lcom/instagram/android/login/d/a;

.field private g:Lcom/instagram/android/model/b;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/Button;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    .line 77
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/fragment/al;->c:Z

    .line 98
    new-instance v0, Lcom/instagram/android/fragment/am;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/am;-><init>(Lcom/instagram/android/fragment/al;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ak:Landroid/view/View$OnFocusChangeListener;

    .line 109
    new-instance v0, Lcom/instagram/android/fragment/ap;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ap;-><init>(Lcom/instagram/android/fragment/al;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->al:Landroid/text/TextWatcher;

    .line 705
    return-void
.end method

.method private X()Z
    .locals 1

    .prologue
    .line 163
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 164
    invoke-static {v0}, Lcom/instagram/n/i;->c(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 165
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z

    .line 166
    sget v0, Lcom/facebook/ba;->please_enter_a_valid_email_address:I

    invoke-static {v0}, Lcom/instagram/n/j;->a(I)V

    .line 167
    const/4 v0, 0x0

    .line 169
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method private Y()V
    .locals 4

    .prologue
    .line 366
    iget-boolean v0, p0, Lcom/instagram/android/fragment/al;->b:Z

    if-eqz v0, :cond_0

    .line 402
    :goto_0
    return-void

    .line 370
    :cond_0
    new-instance v0, Lcom/instagram/android/d/e/ai;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    new-instance v3, Lcom/instagram/android/fragment/ax;

    invoke-direct {v3, p0}, Lcom/instagram/android/fragment/ax;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/android/d/e/ai;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;)V

    invoke-virtual {v0}, Lcom/instagram/android/d/e/ai;->g()V

    goto :goto_0
.end method

.method private Z()V
    .locals 2

    .prologue
    .line 409
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v0

    if-eqz v0, :cond_0

    .line 423
    :goto_0
    return-void

    .line 416
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 417
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 418
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 419
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 420
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 421
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 422
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->g()I

    move-result v1

    invoke-static {v1}, Lcom/instagram/android/fragment/bb;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/Spinner;->setSelection(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/fragment/ba;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->e:Lcom/instagram/android/fragment/ba;

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/al;Lcom/instagram/android/model/b/o;)Lcom/instagram/android/model/b/o;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 68
    iput-object p1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    return-object p1
.end method

.method static synthetic a(Lcom/instagram/android/fragment/al;Lcom/instagram/android/model/b;)Lcom/instagram/android/model/b;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 68
    iput-object p1, p0, Lcom/instagram/android/fragment/al;->g:Lcom/instagram/android/model/b;

    return-object p1
.end method

.method static synthetic a(Lcom/instagram/android/fragment/al;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 68
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/al;->e(I)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/al;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 68
    iput-boolean p1, p0, Lcom/instagram/android/fragment/al;->c:Z

    return p1
.end method

.method private aa()V
    .locals 5

    .prologue
    .line 426
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->a(Ljava/lang/String;)V

    .line 427
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->b(Ljava/lang/String;)V

    .line 428
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->d(Ljava/lang/String;)V

    .line 429
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->f(Ljava/lang/String;)V

    .line 430
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->e(Ljava/lang/String;)V

    .line 431
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    invoke-virtual {v1}, Landroid/widget/Spinner;->getSelectedItemPosition()I

    move-result v1

    invoke-static {v1}, Lcom/instagram/android/fragment/bb;->b(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/o;->a(I)V

    .line 433
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    .line 434
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_0

    const-string v1, "^https?://.+"

    invoke-virtual {v0, v1}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 435
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "http://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 437
    :cond_0
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1, v0}, Lcom/instagram/android/model/b/o;->c(Ljava/lang/String;)V

    .line 439
    new-instance v0, Lcom/instagram/android/d/e/al;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    iget-object v3, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    new-instance v4, Lcom/instagram/android/fragment/ay;

    invoke-direct {v4, p0}, Lcom/instagram/android/fragment/ay;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/instagram/android/d/e/al;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/model/b/o;Lcom/instagram/android/d/j/a;)V

    invoke-virtual {v0}, Lcom/instagram/android/d/e/al;->g()V

    .line 471
    return-void
.end method

.method private ab()V
    .locals 5

    .prologue
    .line 474
    new-instance v0, Lcom/instagram/android/login/d/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    invoke-static {}, Lcom/instagram/android/util/w;->a()I

    move-result v3

    new-instance v4, Lcom/instagram/android/fragment/an;

    invoke-direct {v4, p0}, Lcom/instagram/android/fragment/an;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/instagram/android/login/d/a;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/f;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->f:Lcom/instagram/android/login/d/a;

    .line 518
    return-void
.end method

.method private ac()V
    .locals 4

    .prologue
    .line 521
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    if-nez v0, :cond_0

    .line 551
    :goto_0
    return-void

    .line 525
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v0

    if-nez v0, :cond_1

    .line 526
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ad()V

    goto :goto_0

    .line 530
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 532
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 533
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->af()V

    goto :goto_0

    .line 537
    :cond_2
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->f:Lcom/instagram/android/login/d/a;

    invoke-virtual {v1}, Lcom/instagram/android/login/d/a;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->g:Lcom/instagram/android/model/b;

    if-eqz v1, :cond_4

    .line 539
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->g:Lcom/instagram/android/model/b;

    invoke-virtual {v0}, Lcom/instagram/android/model/b;->b()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 540
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ae()V

    goto :goto_0

    .line 542
    :cond_3
    sget v0, Lcom/facebook/ba;->username_x_is_not_available:I

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/instagram/android/fragment/al;->g:Lcom/instagram/android/model/b;

    invoke-virtual {v3}, Lcom/instagram/android/model/b;->a()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/fragment/al;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/j;->a(Ljava/lang/CharSequence;)V

    .line 545
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ad()V

    goto :goto_0

    .line 550
    :cond_4
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->f:Lcom/instagram/android/login/d/a;

    invoke-virtual {v1, v0}, Lcom/instagram/android/login/d/a;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method private ad()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 554
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    sget v1, Lcom/facebook/av;->accounts_glyph_username_error:I

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/EditText;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    .line 557
    return-void
.end method

.method private ae()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 560
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    sget v1, Lcom/facebook/av;->accounts_glyph_username_positive:I

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/EditText;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    .line 563
    return-void
.end method

.method private af()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 566
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    sget v1, Lcom/facebook/av;->accounts_glyph_username_default:I

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/EditText;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    .line 569
    return-void
.end method

.method private ag()Ljava/lang/String;
    .locals 2

    .prologue
    .line 576
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget v1, Lcom/facebook/ba;->toggle_privacy_confirm_turning_on_title:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/al;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\n\n"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->toggle_privacy_confirm_turning_on_body:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/al;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private ah()Ljava/lang/String;
    .locals 2

    .prologue
    .line 583
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget v1, Lcom/facebook/ba;->toggle_privacy_confirm_turning_off_title:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/al;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\n\n"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->toggle_privacy_confirm_turning_off_body:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/al;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ac()V

    return-void
.end method

.method static synthetic b(Lcom/instagram/android/fragment/al;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 68
    iput-boolean p1, p0, Lcom/instagram/android/fragment/al;->b:Z

    return p1
.end method

.method static synthetic c(Lcom/instagram/android/fragment/al;)Landroid/widget/EditText;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/fragment/al;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->i:Landroid/widget/Button;

    return-object v0
.end method

.method private e(I)V
    .locals 2
    .parameter

    .prologue
    .line 405
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v1, Lcom/facebook/aw;->edit_profile_fields:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    .line 406
    return-void
.end method

.method static synthetic e(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->Y()V

    return-void
.end method

.method private f(I)V
    .locals 1
    .parameter

    .prologue
    .line 572
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/MainTabActivity;

    invoke-virtual {v0, p1}, Lcom/instagram/android/activity/MainTabActivity;->b(I)V

    .line 573
    return-void
.end method

.method static synthetic f(Lcom/instagram/android/fragment/al;)Z
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-boolean v0, p0, Lcom/instagram/android/fragment/al;->c:Z

    return v0
.end method

.method static synthetic g(Lcom/instagram/android/fragment/al;)Z
    .locals 1
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->X()Z

    move-result v0

    return v0
.end method

.method static synthetic h(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->aa()V

    return-void
.end method

.method static synthetic i(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IndeterminateCheckBox;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

    return-object v0
.end method

.method static synthetic j(Lcom/instagram/android/fragment/al;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ag()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic k(Lcom/instagram/android/fragment/al;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ah()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic l(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->Z()V

    return-void
.end method

.method static synthetic m(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ae()V

    return-void
.end method

.method static synthetic n(Lcom/instagram/android/fragment/al;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ad()V

    return-void
.end method

.method static synthetic o(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/widget/IgSmallLoadingSpinner;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ah:Lcom/instagram/android/widget/IgSmallLoadingSpinner;

    return-object v0
.end method

.method static synthetic p(Lcom/instagram/android/fragment/al;)Lcom/instagram/android/model/b/o;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    return-object v0
.end method

.method static synthetic q(Lcom/instagram/android/fragment/al;)Z
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-boolean v0, p0, Lcom/instagram/android/fragment/al;->b:Z

    return v0
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 6
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 175
    sget v0, Lcom/facebook/ax;->fragment_edit_profile:I

    invoke-virtual {p1, v0, p2, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    .line 177
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->full_name:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    .line 178
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->username:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    .line 179
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->website:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    .line 180
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->bio:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    .line 181
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->email:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    .line 182
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->phone:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    .line 183
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->gender:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Spinner;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    .line 184
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->save_button:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->i:Landroid/widget/Button;

    .line 185
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->change_password_button:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->Z:Landroid/widget/Button;

    .line 186
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->username_spinner:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/IgSmallLoadingSpinner;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ah:Lcom/instagram/android/widget/IgSmallLoadingSpinner;

    .line 187
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    sget v3, Lcom/facebook/aw;->privacy_check_box:I

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/IndeterminateCheckBox;

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

    .line 189
    new-instance v0, Lcom/instagram/android/fragment/ar;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ar;-><init>(Lcom/instagram/android/fragment/al;)V

    .line 200
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v3

    .line 201
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 202
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 203
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 204
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 205
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 206
    iget-object v4, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    invoke-interface {v3, v4}, Lcom/instagram/b/c;->a(Landroid/widget/TextView;)V

    .line 208
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 209
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 210
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 211
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 212
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 213
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    invoke-virtual {v3, v0}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 214
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    invoke-virtual {v3, v0}, Landroid/widget/Spinner;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 216
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    new-instance v3, Lcom/instagram/android/fragment/bb;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/instagram/android/fragment/bb;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v3}, Landroid/widget/Spinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    .line 218
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    const/4 v3, 0x2

    new-array v3, v3, [Landroid/text/InputFilter;

    new-instance v4, Lcom/instagram/android/login/j;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->l()Landroid/content/res/Resources;

    move-result-object v5

    invoke-direct {v4, v5}, Lcom/instagram/android/login/j;-><init>(Landroid/content/res/Resources;)V

    aput-object v4, v3, v2

    new-instance v4, Landroid/text/InputFilter$LengthFilter;

    const/16 v5, 0x1e

    invoke-direct {v4, v5}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v4, v3, v1

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    .line 224
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    new-instance v3, Lcom/instagram/android/s/a/a;

    invoke-direct {v3}, Lcom/instagram/android/s/a/a;-><init>()V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setTransformationMethod(Landroid/text/method/TransformationMethod;)V

    .line 226
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    new-instance v3, Lcom/instagram/android/k/a;

    iget-object v4, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    sget-object v5, Lcom/instagram/android/k/c;->a:Lcom/instagram/android/k/c;

    invoke-direct {v3, v4, v5}, Lcom/instagram/android/k/a;-><init>(Landroid/widget/EditText;Lcom/instagram/android/k/c;)V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 228
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    new-instance v3, Lcom/instagram/android/k/a;

    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-direct {v3, v4}, Lcom/instagram/android/k/a;-><init>(Landroid/widget/EditText;)V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 229
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    new-instance v3, Lcom/instagram/android/k/a;

    iget-object v4, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    sget-object v5, Lcom/instagram/android/k/c;->a:Lcom/instagram/android/k/c;

    invoke-direct {v3, v4, v5}, Lcom/instagram/android/k/a;-><init>(Landroid/widget/EditText;Lcom/instagram/android/k/c;)V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 232
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->i:Landroid/widget/Button;

    new-instance v3, Lcom/instagram/android/fragment/as;

    invoke-direct {v3, p0}, Lcom/instagram/android/fragment/as;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 241
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->Z:Landroid/widget/Button;

    new-instance v3, Lcom/instagram/android/fragment/at;

    invoke-direct {v3, p0}, Lcom/instagram/android/fragment/at;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 248
    iget-object v3, p0, Lcom/instagram/android/fragment/al;->ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->A()Lcom/instagram/android/model/b/h;

    move-result-object v0

    sget-object v4, Lcom/instagram/android/model/b/h;->c:Lcom/instagram/android/model/b/h;

    if-ne v0, v4, :cond_1

    move v0, v1

    :goto_0
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setChecked(Ljava/lang/Boolean;)V

    .line 251
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

    new-instance v1, Lcom/instagram/android/fragment/au;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/au;-><init>(Lcom/instagram/android/fragment/al;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 281
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    if-eqz v0, :cond_0

    .line 282
    invoke-direct {p0, v2}, Lcom/instagram/android/fragment/al;->e(I)V

    .line 286
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    return-object v0

    :cond_1
    move v0, v2

    .line 248
    goto :goto_0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 591
    new-instance v0, Lcom/instagram/android/fragment/ao;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ao;-><init>(Lcom/instagram/android/fragment/al;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 133
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 136
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/al;->d(Z)V

    .line 138
    new-instance v0, Lcom/instagram/android/fragment/ba;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ba;-><init>(Lcom/instagram/android/fragment/al;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->e:Lcom/instagram/android/fragment/ba;

    .line 140
    new-instance v0, Lcom/instagram/android/fragment/aq;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/aq;-><init>(Lcom/instagram/android/fragment/al;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/al;->aj:Landroid/content/BroadcastReceiver;

    .line 148
    return-void
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 0
    .parameter

    .prologue
    .line 152
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->d(Landroid/os/Bundle;)V

    .line 153
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->ab()V

    .line 154
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 740
    const-string v0, "edit_profile"

    return-object v0
.end method

.method public g_()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 291
    invoke-super {p0}, Lcom/instagram/e/b/b;->g_()V

    .line 293
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->e:Lcom/instagram/android/fragment/ba;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/ba;->removeMessages(I)V

    .line 295
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v0

    .line 296
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 297
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 298
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 299
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 300
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 301
    iget-object v1, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    invoke-interface {v0, v1}, Lcom/instagram/b/c;->b(Landroid/widget/TextView;)V

    .line 303
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->h:Landroid/view/View;

    .line 304
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->aa:Landroid/widget/EditText;

    .line 305
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    .line 306
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ac:Landroid/widget/EditText;

    .line 307
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ad:Landroid/widget/EditText;

    .line 308
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ae:Landroid/widget/EditText;

    .line 309
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->af:Landroid/widget/EditText;

    .line 310
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ag:Landroid/widget/Spinner;

    .line 311
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->i:Landroid/widget/Button;

    .line 312
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->Z:Landroid/widget/Button;

    .line 313
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ah:Lcom/instagram/android/widget/IgSmallLoadingSpinner;

    .line 314
    iput-object v2, p0, Lcom/instagram/android/fragment/al;->ai:Lcom/instagram/android/widget/IndeterminateCheckBox;

    .line 315
    return-void
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 1
    .parameter "newConfig"

    .prologue
    .line 158
    const/16 v0, 0x8

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/al;->f(I)V

    .line 159
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 160
    return-void
.end method

.method public w()V
    .locals 5

    .prologue
    const/16 v4, 0x8

    .line 319
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 321
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getRequestedOrientation()I

    move-result v0

    iput v0, p0, Lcom/instagram/android/fragment/al;->d:I

    .line 322
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->setRequestedOrientation(I)V

    .line 325
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 327
    invoke-direct {p0, v4}, Lcom/instagram/android/fragment/al;->f(I)V

    .line 329
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->aj:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "ActionBarService.action_bar_refresh_click"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 336
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->ak:Landroid/view/View$OnFocusChangeListener;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 337
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->al:Landroid/text/TextWatcher;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 339
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->a:Lcom/instagram/android/model/b/o;

    if-nez v0, :cond_0

    .line 340
    invoke-direct {p0, v4}, Lcom/instagram/android/fragment/al;->e(I)V

    .line 341
    invoke-direct {p0}, Lcom/instagram/android/fragment/al;->Y()V

    .line 343
    :cond_0
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 347
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 349
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 350
    iget-object v0, p0, Lcom/instagram/android/fragment/al;->ab:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->al:Landroid/text/TextWatcher;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->removeTextChangedListener(Landroid/text/TextWatcher;)V

    .line 352
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    iget v1, p0, Lcom/instagram/android/fragment/al;->d:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->setRequestedOrientation(I)V

    .line 355
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x30

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 358
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/al;->f(I)V

    .line 360
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/j;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/n/k;->a(Landroid/content/Context;Landroid/view/View;)V

    .line 362
    invoke-virtual {p0}, Lcom/instagram/android/fragment/al;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/al;->aj:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 363
    return-void
.end method
